import request from '@/utils/request'

export function login(data) {
  return request({
    url: '/ucenter/login',
    method: 'post',
    data
  })
}
// 获取用户信息
export function getUserInfo() {
  return request({
    url: '/ucenter/userInfo'
  })
}
